package org.jeecg.modules.basic.repair.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.modules.basic.repair.entity.LwgyDepreRecord;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import java.util.List;

/**
 * @Description: 采购计划
 * @Author: jeecg-boot
 * @Date:
 * @Version: V1.0
 */
@Data
@ApiModel(value="lwgy_fixed_assets_page对象", description="折算")
public class LwgyFixedAssetsPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
	private String id;
	/**校区*/
	@Excel(name = "所属校区", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
	@Dict(dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "所属校区")
	private String campusId;
	@ApiModelProperty(value = "资产编号")
	private String assetsNo;
	@ApiModelProperty(value = "资产名称")
	private String assetsName;
	@ApiModelProperty(value = "物品id")
	private String model;
	@ApiModelProperty(value = "资产类别")
	private String assetsTypeName;
	@ApiModelProperty(value = "生产厂家")
	private String manuFacturer;
	/**创建日期*/
	@Excel(name = "置办日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "置办日期")
	private  Date manuDate;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "置办日期")
	private Date buyDate;
	@ApiModelProperty(value = "所属部门")
	private String beDep;
	@ApiModelProperty(value = "保管人")
	private String custodian;
	@ApiModelProperty(value = "物品id")
	private String amouts;
	@ApiModelProperty(value = "残值率")
	private String remainValRate;
	@ApiModelProperty(value = "折旧类型")
	private String depreTypeId;
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "开始折旧日期")
	private Date startDepre;
	@ApiModelProperty(value = "总使用年限")
	private String intendTerm;
	@ApiModelProperty(value = "物品")
	private String intendWorkGross;
	@ApiModelProperty(value = "物品")
	private String workGrossUnit;
	@ApiModelProperty(value = "资产原值")
	private String assetValue;
	@ApiModelProperty(value = "资产当前值")
	private String assetCurValue;
	@ApiModelProperty(value = "开始日期")
	private String depreRate;
	@ApiModelProperty(value = "物品")
	private String defPerWorkGross;
	@ApiModelProperty(value = "物品")
	private String destroyDate;
	@ApiModelProperty(value = "物品")
	private String destroy;
	@ApiModelProperty(value = "报废去向")
	private String destroyWhere;
	@ApiModelProperty(value = "报废原因")
	private String destroyReason;
	@Excel(name = "折旧类型", width = 15,dicCode = "method_state")
	@ApiModelProperty(value = "折旧类型")
	@Dict(dicCode = "method_state")
	private String destroyId;
	@ApiModelProperty(value = "物品状态")
	@Dict(dicCode = "scrap_state")
	private String destoryStatus;
	@ApiModelProperty(value = "预计残值")
	private String salvageValue;
	@ApiModelProperty(value = "工作量")
	private String workLoad;
	/**日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "日期")
	private Date createTime;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd  HH:mm:ss")
	@ApiModelProperty(value = "修改时间")
	private Date updateTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	@ExcelCollection(name="折算")
	@ApiModelProperty(value = "折算")
	private List<LwgyDepreRecord> lwgyDepreRecordList;





}
